package com.gprcclient.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: LCG
 * @date: 2022-10-27 18:23:55
 * @description: 定义灰度的策略规则
 **/
@Configuration
public class TestConfig {

    /**
     * @author: LCG
     * @date: 2022-10-27 18:37:01
     * @description:  自定义的负载策略
     */
    @Bean
    public HuiDuRule getHuiDuRule(){
        //自定义路由策略的实现
        return new HuiDuRule();
    }

}
